//
// Created by LONG on 2020/11/12.
//

#include "l1Api.h"

void UE_SCF_L1_API_ProcConfigReq(S_UeCommMsgHdr *pCommMsgHdr)
{
    int32_t rc;
    S_VarRingBuffer *pL2L1CpMsgQue;
    S_UeL1ApiMsgConfigReq *pConfigReq;

    pConfigReq = (S_UeL1ApiMsgConfigReq *)pCommMsgHdr;
    pL2L1CpMsgQue = gpUeL2Context->ueInst[pConfigReq->ueIdx].pL2L1CpMsgQue;

    VRB_PUT(rc, pL2L1CpMsgQue, pCommMsgHdr, pCommMsgHdr->size);
}

void UE_SCF_L1_API_ProcSyncReq(S_UeCommMsgHdr *pCommMsgHdr)
{
    int32_t rc;
    S_VarRingBuffer *pL2L1CpMsgQue;
    S_UeL1ApiMsgSyncReq *pSyncReq;

    pSyncReq = (S_UeL1ApiMsgSyncReq *)pCommMsgHdr;
    pL2L1CpMsgQue = gpUeL2Context->ueInst[pSyncReq->ueIdx].pL2L1CpMsgQue;

    VRB_PUT(rc, pL2L1CpMsgQue, pCommMsgHdr, pCommMsgHdr->size);
}

void UE_SCF_L1_API_TtiProc(S_UeL2UeInst *pUeInst, uint32_t schRsltIdx)
{

}

